package com.vhall.component.service.goods;

import com.vhall.component.entity.goods.dto.GuoPrdInfoDTO;
import com.vhall.component.entity.goods.dto.GuoXinPrdInfoDTO;
import com.vhall.component.entity.goods.goods.GoodsStatisVO;
import com.vhall.component.entity.goods.vo.GetGoodsInfoRequestVO;
import com.vhall.component.entity.goods.vo.GetGoodsInfoResponseVO;
import com.vhall.component.entity.goods.vo.SearchGoodsPageRequestVO;
import com.vhall.component.entity.goods.vo.SearchGoodsResponseVO;
import com.vhall.component.entity.page.vo.PageVO;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;

/**
 * GuoxinPrdService-
 *
 * @author xing.wang
 * @date 2023/8/24
 */
public interface GuoxinPrdService {
    /**
     * 查询可以绑定的国信方面的产品信息
     * @param vo
     * @return
     */
    PageVO<SearchGoodsResponseVO> searchGoodsPage(SearchGoodsPageRequestVO vo);

    PageVO<SearchGoodsResponseVO> searchRoomGoods(Integer ilId,int pageNum,int pageSize);

    /**
     * 查询国信产品详情,可以传递多个产品编号获取多个产品详情
     * @param vo
     * @return
     */
    List<GetGoodsInfoResponseVO> getGoodsInfoList(GetGoodsInfoRequestVO vo);

    boolean saveRoomGoods(GuoXinPrdInfoDTO dto);
    boolean delRoomGoods(GuoPrdInfoDTO dto);

    PageVO<GoodsStatisVO> getGoodsStatis(Integer ilId,int page, int pageSize);
}
